/* 内容主体样式 */

/* main */
.main {
    width: 980px;
    height: 455px;
    background-color: #fff;
    margin: 10px 10px 0 220px;
}

/* 焦点图 */
.focus {
    position: relative;
    width: 720px;
    height: 455px;
}

/* 焦点图按钮 */
.arrow-l,
.arrow-r {
    position: absolute;
    top: 50%;
    margin-top: -20px;
    width: 24px;
    height: 40px;
    line-height: 40px;
    font-size: 20px;
    color: #fff;
    background-color: rgba(0, 0, 0, .2);
}

/* 焦点图左按钮 */
.arrow-l {
    left: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

/* 焦点图右按钮 */
.arrow-r {
    right: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: right;
}

/* 小圆圈 */
.circle {
    position: absolute;
    bottom: 10px;
    left: 50px;
}

.circle li {
    float: left;
    width: 8px;
    height: 8px;
    border: 2px solid rgba(255, 255, 255, .5);
    border-radius: 50%;
    margin: 0 3px;
    cursor: pointer;
}

/* 当前小圆圈 */
.current {
    background-color: #fff;
}

/* 新闻快报模块 */
.newsflash {
    width: 250px;
    height: 455px;
}

/* 新闻模块 */
.news {
    height: 163px;
    border: 1px solid #ccc;
}

.news-hd {
    height: 32px;
    line-height: 32px;
    padding: 0 15px;
    font-size: 14px;
    color: #333;
    font-weight: 400;
    border-bottom: 1px dotted #ccc;
}

.news-hd a {
    float: right;
    font-size: 12px;
    font-family: 'icomoon';
}

.news-bd {
    padding: 10px 15px;
}

.news-bd li {
    height: 23px;
    /* 先强制一行显示文本 */
    white-space: nowrap;
    /* 超出部分隐藏 */
    overflow: hidden;
    /* 文本用省略号替代超过的部分 */
    text-overflow: ellipsis;
}

.news li em {
    font-weight: 700;
    cursor: pointer;
}

/* 生活服务模块 */
.life_service {
    height: 208px;
    border: 1px solid #ccc;
    overflow: hidden;
    border-top: none;
}

.life_service ul {
    width: 252px;
}

.life_service li {
    position: relative;
    float: left;
    width: 62px;
    height: 70px;
    border-right: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.life_service li a {
    display: block;
    overflow: hidden;
    width: 62px;
    height: 70px;
}

.service_ico {
    display: block;
    width: 24px;
    height: 24px;
    margin: 10px auto;
    background: url(../img/icons.png) no-repeat;
}

.life_service a p {
    text-align: center;
}

/* 话费 */
.service_ico_huafei {
    background-position: -17px -16px;
}

/* 机票 */
.service_ico_jipiao {
    background-position: -79px -16px;
}

.jian {
    position: absolute;
    right: 0;
    top: 0;
    width: 12px;
    height: 15px;
    background: url(../img/jian.jpg) no-repeat;
}

/* 酒店 */
.service_ico_jiudian {
    background-position: -140px -88px;
}

/* 游戏 */
.service_ico_youxi {
    background-position: -206px -16px;
}

/* 加油卡 */
.service_ico_jiayouka {
    background-position: -79px -87px;
}

/* 火车票 */
.service_ico_huochepiao {
    background-position: -204px -88px;
}

/* 众筹 */
.service_ico_zhongchou {
    background-position: -16px -156px;
}

/* 理财 */
.service_ico_licai {
    background-position: -79px -159px;
}

/* 白条 */
.service_ico_baitiao {
    background-position: -205px -158px;
}

/* 电影票 */
.service_ico_dianyingpiao {
    background-position: -141px -16px;
}

/* 彩票 */
.service_ico_caipiao {
    background-position: -16px -88px;
}

/* 礼品卡 */
.service_ico_lipinka {
    background-position: -141px -159px;
}

/* 特价商品模块 */
.bargain {
    height: 75px;
    margin-top: 5px;
}

/* 推荐模块 */
.recommend {
    height: 163px;
    margin-top: 10px;
}

.recom-hd {
    width: 209px;
    height: 100%;
    text-align: center;
    background-color: #5C5251;
}

.recom-hd img {
    margin: 30px 0 10px 0;
}

.recom-hd h3 {
    font-size: 18px;
    font-weight: normal;
    color: #fff;
}

.recom-bd {
    width: 991px;
    height: 100%;
    background-color: #ebebeb;
}

.recom-bd li {
    float: left;
    width: 246.75px;
    height: 145px;
    border-right: 1px solid #ccc;
    margin: 9px 0;
}

.recom-bd li img {
    width: 100%;
    height: 100%;
}

/* 取消最后一个商品的右边框 */
.recom-bd .last {
    border-right: 0;
}

/* 楼层区域 */
.box-hd {
    height: 30px;
    border-bottom: 2px solid #c81623;
    margin-top: 25px;
}

.box-hd h3 {
    float: left;
    font-size: 18px;
    color: #c81623;
}

.box-hd .tab-list {
    float: right;
}

.box-hd .tab-list li {
    float: left;
    line-height: 30px;
}

.box-hd .tab-list li a {
    margin: 0 15px;
}

.box-bd {
    height: 360px;
}

.box-bd li {
    float: left;
    height: 360px;
    overflow: hidden;
}

.box-bd img {
    /* css3的过渡动画，all代表所有属性，0.5代表花费时间 */
    transition: all 0.2s;
}

.box-bd img:hover {
    margin-left: 8px;
}

.w209 {
    width: 209px;
    background-color: #f9f9f9;
}

.w329 {
    position: relative;
    width: 329px;
}

.w329-circle {
    position: absolute;
    bottom: 10px;
    left: 50%;
    margin-left: -21px;
}

.w329-circle li {
    float: left;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    margin: 0 3px;
    cursor: pointer;
}

.w329-circle .w329-current {
    background-color: #fff;
}

.w219 {
    width: 219px;
    border-right: 1px solid #ccc;
}

.w220 {
    width: 220px;
    border-right: 1px solid #ccc;
}

.tab_content_item {
    border-bottom: 1px solid #ccc;
}

.tab-content-list {
    margin-bottom: 10px;
    /* 父级无高度，孩子是浮动，用溢出隐藏清除浮动 */
    overflow: hidden;
}

.tab-content-list li {
    width: 86px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    margin-left: 12px;
    border-bottom: 1px solid #ccc;
}

/* 固定定位电梯导航 */
.fixedtool {
    position: fixed;
    /* 先走屏幕的一半50%，再走版心的一半600px，最后走自身宽度66px，可以适当隔开10px的距离（视情况而定） */
    left: 50%;
    margin-left: -676px;
    top: 320px;
    width: 66px;
}

.fixedtool li {
    position: relative;
    width: 66px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    font-size: 14px;
    border-bottom: 1px solid #ccc;
}

.fixedtool li:hover {
    background-color: #C81622;
}

.fixedtool li:hover a {
    color: #fff;
}

.fixedtool-current {
    background-color: #C81622;
}

.fixedtool-current a {
    color: #fff;
}

/* 猜你喜欢 */
.related-hd {
    height: 30px;
    margin-top: 25px;
}

.related-hd h3 {
    float: left;
    font-size: 18px;
    color: #333;
}

.related-hd span {
    float: right;
    margin-right: 10px;
    line-height: 30px;
    cursor: pointer;
}

.related-hd span i {
    margin: 0 5px;
    font-family: 'icomoon';
}

.related-bd {
    height: 229px;
    border: 1px solid #ccc;
}

.related-list li {
    float: left;
    width: 139px;
    height: 209px;
    padding: 10px 30px;
}

.related-img {
    width: 160px;
    height: 141px;
    line-height: 141px;
    text-align: center;
}


.related-text {
    width: 169px;
    height: 62px;
    margin-top: 10px;
    border-right: 1px solid #ccc;
}

.related-text-last {
    border-right: 0;
 }

.related-text h5 {
    width: 141px;
    height: 37px;
}

.related-list p {
    width: 96px;
    height: 22px;
    color: #C81622;
    font-size: 18px;
}

